//
//  Ugc_Find_VC_WX.m
//  ZITHER
//
//  Created by weixin on 2019/1/14.
//  Copyright © 2019 weixn. All rights reserved.
//

#import "Ugc_Find_VC_WX.h"
#import "Ugc_Find_Tbv_WX.h"

@interface Ugc_Find_VC_WX ()
@property (nonatomic,strong)Ugc_Find_Tbv_WX * tbv;
@end

@implementation Ugc_Find_VC_WX

- (void)viewDidLoad {
    [super viewDidLoad];

    [self setNav];
    [self setUI];
}

-(void)setNav{
    /* TODO: ================= 导航栏V4样式 =================*/
    [self.baseNavigationView NavigationBarStyle:1];
    self.baseNavigationView.leftButton1.hidden = YES;
    self.baseNavigationView.navViewStyle.title.text = @"发现";
    [self.baseNavigationView setHiddenNav:NO VC:self];
}


-(void)setUI{
    [self.view addSubview:self.tbv];
    
    [self.tbv mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.right.bottom.equalTo(self.view).offset(0);
        make.height.mas_equalTo(kScreenH-NaviHeight);
    }];
}


-(void)setModel:(RecommendUserlistModel *)model{
    _model = model;
//    self.tbv.model = model;
}


-(Ugc_Find_Tbv_WX *)tbv{
    if (!_tbv) {
        _tbv = [[Ugc_Find_Tbv_WX alloc]initializeFrame:CGRectMake(0, 0, 0, 0) isMj:1 isEstimatedRowHeight:YES addRegisterNib:@[@"MainFirst_MagazineList_UgcCell_WX",@"MainFirst_MagazineList_PGCCell_WX"]];
    }
    return _tbv;}

@end
